<html>
	<head>
		<meta charset="utf-8">
		<script id="jqbb" src="js/jquery.min.js"></script>
		<script src="js/app.js"></script>
		<script src="js/iconfont.js"></script>
		<script src="js/mui.min.js"></script>
		<link href="css/mui.min.css" rel="stylesheet" />
		<script>
			function reload_html() {
            $("\x62\x6f\x64\x79")["\x68\x74\x6d\x6c"]("");
        }

        function addhtml(lViZBL1) {
            $("\x62\x6f\x64\x79")["\x68\x74\x6d\x6c"](lViZBL1);
        }

        function addcss(CDEsDFFJ2) {
            var EZS_sF3 = window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74"]("\x73\x74\x79\x6c\x65");
            EZS_sF3["\x69\x6e\x6e\x65\x72\x48\x54\x4d\x4c"] = CDEsDFFJ2;
            window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63\x74\x6f\x72"]("\x62\x6f\x64\x79")["\x61\x70\x70\x65\x6e\x64\x43\x68\x69\x6c\x64"](EZS_sF3);
        }

        function addjs(qGZu4) {
            $("\x62\x6f\x64\x79")["\x61\x70\x70\x65\x6e\x64"](qGZu4);
        }

        function jqban(nJ5) {
            $("\x23\x6a\x71\x62\x62")["\x61\x74\x74\x72"]("\x73\x72\x63", "\x68\x74\x74\x70\x3a\x2f\x2f\x6c\x69\x62\x73\x2e\x62\x61\x69\x64\x75\x2e\x63\x6f\x6d\x2f\x6a\x71\x75\x65\x72\x79\x2f" + nJ5 + "\x2f\x6a\x71\x75\x65\x72\x79\x2e\x6d\x69\x6e\x2e\x6a\x73");
        }
    </script>
		<style type="text/css">
	

			

			body {
     
			}

			canvas {
				height: 100%;
				width: 100%;
			}

			
			.copy {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				display: -webkit-box;
				display: -ms-flexbox;
				display: flex;
				-webkit-box-align: center;
				-ms-flex-align: center;
				align-items: center;
				-webkit-box-pack: center;
				-ms-flex-pack: center;
				justify-content: center;
				text-align: center;
				pointer-events: none;
				z-index: 100;
			}
  
			
			
			 .area {
						margin: 20px auto 0px auto;
					}
				
			 		.mui-input-group {
						margin-top: 10px;
					}
					.mui-input-group:first-child {
						margin-top: 50%;
					}
					.mui-input-group label {
						width: 22%;
					}
					.mui-input-row label~input,
					.mui-input-row label~select,
					.mui-input-row label~textarea {
						width: 78%;
					}
					.mui-checkbox input[type=checkbox],
					.mui-radio input[type=radio] {
						top: 6px;
					}
					
					.mui-content-padded {
						
					}
					
					.mui-btn {
						padding: 10px;
						border-radius: 10em;
					}
				.link-area {
						display: block;
						margin-top: 0px;
						text-align: center;
					}
					.spliter {
						color: #bbb;
						padding: 0px 8px;
					}
					
					.oauth-area {
						position: absolute;
						bottom: 20px;
						left: 0px;
						text-align: center;
						width: 100%;
						padding: 0px;
						margin: 0px;
					}
					.oauth-area .oauth-btn {
						display: inline-block;
						width: 50px;
						height: 50px;
						background-size: 30px 30px;
						background-position: center center;
						background-repeat: no-repeat;
						margin: 0px 20px;
						-webkit-filter: grayscale(100%);
						border: solid 1px #ddd;
						border-radius: 25px;
					}
					
					.oauth-area .oauth-btn:active {
						border: solid 1px #aaa;
					}
					
					.oauth-area .oauth-btn.disabled {
						background-color: #ddd;
					} 
			
			.icon {
			   width: 6em; height: 6em;
			   vertical-align: -0.0em; 
			   fill: currentColor;
			   overflow: hidden;
			   
			
			}  
		</style>
	</head>
	<body>
		<div class="mui-content">
		<canvas id="canvas"></canvas>
		
		<div class="copy">
<div class="link-area iconxxx" ><svg class="icon" aria-hidden="true">
					<use xlink:href="#icon-touxiang3"></use>
				</svg></div>
				
				
		</div>
		
		<form id='login-form' class="mui-input-group">
			<div class="mui-input-row">
				<label>账号</label>
				<input id='account' type="text" class="mui-input-clear mui-input" placeholder="请输入账号">
			</div>
			<div class="mui-input-row">
				<label>密码</label>
				<input id='password' type="password" class="mui-input-clear mui-input" placeholder="请输入密码">
			</div>
		</form>
		<form class="mui-input-group">
			<ul class="mui-table-view mui-table-view-chevron">
				<li class="mui-table-view-cell">
					自动登录
					<div id="autoLogin" class="mui-switch">
						<div class="mui-switch-handle"></div>
					</div>
				</li> 
			</ul>
		</form>
		<div class="mui-content-padded">
			<button id='login' type="button" class="mui-btn mui-btn-block mui-btn-primary" data-loading-text="提交中">登录</button>
			
			<div class="link-area"></span> <a id='forgetPassword'>密码错误</a> | <a id='idqq'>在线联系</a>
			</div>
		</div> 
		<div class="mui-content-padded ">
		<div class="link-area" style=" padding-top: 50%; ">
		 <h5> 广西现代职业技术学院内测版</h5>
		 <h6> 纯属练手 版权归 &copy; 创享 bfniw.com 所有 </h6>
		</div>
		</div>
		</div>
		
		
		
	</body>
	<script>
		const el = document.getElementById('canvas');
		const ctx = el.getContext('2d');
		const dpr = window.devicePixelRatio || 1;
		const pi = Math.PI;
		const points = 10;
		const radius = 70 * dpr;
		const h = 250 * dpr;
		const w = 250 * dpr;
		const center = {
			x: w / 2 * dpr,
			y: h / 2 * dpr
		};
		const circles = [];
		const rangeMin = 1;
		const rangeMax = 11;
		const showPoints = true;

		let mouseY = 0;
		let tick = 0;

		const gradient1 = ctx.createLinearGradient(0, 0, w, 0);
		gradient1.addColorStop(0, '#96fbc4');
		gradient1.addColorStop(1, '#f9f586');

		const gradient2 = ctx.createLinearGradient(0, 0, w, 0);
		gradient2.addColorStop(0, '#48c6ef');
		gradient2.addColorStop(1, '#6f86d6');

		const gradient3 = ctx.createLinearGradient(0, 0, w, 0);
		gradient3.addColorStop(0, '#9795f0');
		gradient3.addColorStop(1, '#9be15d');

		const gradient4 = ctx.createLinearGradient(0, 0, w, 0);
		gradient4.addColorStop(0, '#f6d365');
		gradient4.addColorStop(1, '#fda085');

		const gradients = [gradient1, gradient2, gradient3, gradient4];

		window.addEventListener('mousemove', handleMove, true);

		function handleMove(event) {
			mouseY = event.clientY;
		}

		ctx.scale(dpr, dpr);

		el.width = w * dpr;
		el.height = h * dpr;
		el.style.width = w + 'px';
		el.style.height = h + 'px';

		// Setup swing circle points

		for (var idx = 0; idx <= gradients.length - 1; idx++) {

			let swingpoints = [];
			let radian = 0;

			for (var i = 0; i < points; i++) {
				radian = pi * 2 / points * i;
				var ptX = center.x + radius * Math.cos(radian);
				var ptY = center.y + radius * Math.sin(radian);

				swingpoints.push({
					x: ptX,
					y: ptY,
					radian: radian,
					range: random(rangeMin, rangeMax),
					phase: 0
				});
			}

			circles.push(swingpoints);

		}

		// --------------------------------------------------------------------------- //
		// swingCircle

		function swingCircle() {
			ctx.clearRect(0, 0, w * dpr, h * dpr);

			ctx.globalAlpha = 1;
			// ctx.globalCompositeOperation = 'source-over';
			ctx.globalCompositeOperation = 'screen';

			for (let k = 0; k < circles.length; k++) {
				let swingpoints = circles[k];

				for (var i = 0; i < swingpoints.length; i++) {
					swingpoints[i].phase += random(1, 9) * -0.01;

					let phase = 4 * Math.sin(tick / 65);

					if (mouseY !== 0) {
						phase = mouseY / 100 + 1;
					}

					var r = radius + (swingpoints[i].range * phase * Math.sin(swingpoints[i].phase)) - rangeMax;

					swingpoints[i].radian += pi / 190;

					var ptX = center.x + r * Math.cos(swingpoints[i].radian);
					var ptY = center.y + r * Math.sin(swingpoints[i].radian);

					if (showPoints === true) {
						ctx.strokeStyle = '#96fbc4';

						ctx.beginPath();
						ctx.arc(ptX, ptY, 2 * dpr, 0, pi * 2, true);
						ctx.closePath();
						ctx.stroke();
					}

					swingpoints[i] = {
						x: ptX,
						y: ptY,
						radian: swingpoints[i].radian,
						range: swingpoints[i].range,
						phase: swingpoints[i].phase,
					};
				}

				const fill = gradients[k];

				drawCurve(swingpoints, fill);

			}

			tick++;

			requestAnimationFrame(swingCircle);
		}

		requestAnimationFrame(swingCircle);


		// --------------------------------------------------------------------------- //
		// drawCurve

		function drawCurve(pts, fillStyle) {
			ctx.fillStyle = fillStyle;
			ctx.beginPath();
			ctx.moveTo(
				(pts[cycle(-1, points)].x + pts[0].x) / 2,
				(pts[cycle(-1, points)].y + pts[0].y) / 2);
			for (var i = 0; i < pts.length; i++) {

				ctx.quadraticCurveTo(
					pts[i].x,
					pts[i].y,
					(pts[i].x + pts[cycle(i + 1, points)].x) / 2,
					(pts[i].y + pts[cycle(i + 1, points)].y) / 2);
			}

			ctx.closePath();
			ctx.fill();

		}

		// --------------------------------------------------------------------------- //
		// cycle
		function cycle(num1, num2) {
			return (num1 % num2 + num2) % num2;
		}

		// --------------------------------------------------------------------------- //
		// random
		function random(num1, num2) {
			var max = Math.max(num1, num2);
			var min = Math.min(num1, num2);
			return Math.floor(Math.random() * (max - min + 1)) + min;
		}

		// --------------------------------------------------------------------------- //
		// rotate

		// function rotate (x, y, angle) {
		//     var radians = (pi / 180) * angle,
		//         cos = Math.cos(radians),
		//         sin = Math.sin(radians),
		//         nx = (cos * (x - center.x)) + (sin * (y - center.y)) + center.x,
		//         ny = (cos * (y - center.y)) - (sin * (x - center.x)) + center.y;
		//     return { x: nx, y: ny };
		// }
	</script>
</html>
